home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 March
/
CHIP Mart 1997.iso
/
SurfCam
/
SURFCAM.Z
/
DLG4G18.M3
< prev
next >
Wrap
Text File
|
1996-04-01
|
5KB
|
172 lines
name Deckel Dialog 4 plane G18
% >4
b >4
Q 00
N >5
G >2
F >3.1
f >3.1 F
S +->4
C +->3.>4
X +->3.>4
x +->3.>4 X
Y +->3.>4
y +->3.>4 Y
o +->3.>4 mult -1
q +->3.>4 mult -1
a +->3.>4
z +->3.>4 Z
g >2
r >3.>4
u +->3.>4 add -2
Z +->3.>4
I +->3.>4
J +->3.>4
K +->3.>4
B +->3.>4
T >2
M >2
W 00
O 00
ModalLetters X Y Z F # List of letters that are modal
ModalGs # List of g codes that are modal
Sequence#s N 0 1 1 # Char, freq, incr & start
First#? N # Y or N 'Output 1st sequence no.
Last#? N # Y or N 'Output last sequence no.
HCode -X # X or X U 'Horizontal char.
VCode Z # Y or Y V 'Vertical char.
Dcode Y # Depth char.
FeedCode F # Feed rate char.
Comment ( ) # Begin End comment char.
Spindle 3 4 5 # Cw, ccw & stop m codes
Coolant 8 9 8 # On, Off & Mist m codes
DComp 41 42 40 # Left, Right & Cancel m codes
LComp 43 49 # On & Off codes
Rapid G0 # Rapid positioning word
Spaces? Y # Y or N 'Spaces between words
Incremental? N # Y or N 'Inc or abs output
CtrIncremental? Y # Y or N 'Inc or abs I & J
ByQuadrants? N # Y or N 'Break arcs at quadrants
Inc/Abs G 91 90 # Inc & Abs char. & values
Helical? N
UppercaseComments? Y # Y or N 'Require uppercase comments
Drill 2 # Drilling canned/manual cycle
N[Block] G0 x[H] y[Rplane] z[V]
N[BLOCK] G81 S[Speed] f[Frate] o[Depth] u[Rplane]
end
Peck 2 # Pecking canned/manual cycle
N[Block] G0 x[H] y[Rplane] z[V]
N[BLOCK] G83 S[Speed] f[Frate] o[Depth] q[VBite] a[-1] y[-0.01] u[Rplane]
end
Tap 2 # Tapping canned/manual cycle
N[Block] G0 x[H] y[Rplane] z[V]
N[BLOCK] G84 S[Speed] f[Frate] o[Depth] u[Rplane]
end
Ream 2 # Reaming canned/manual cycle
N[Block] G0 x[H] y[Rplane] z[V]
N[BLOCK] G85 S[Speed] f[Frate] o[Depth] u[Rplane]
end
Bore 2 # Boring canned/manual cycle
N[Block] G0 x[H] y[Rplane] z[V]
N[BLOCK] G82 S[Speed] f[Frate] o[Depth] q[VBite] a1 u[Rplane]
end
Back 2 # Back boring canned/manual cycle
N[Block] G0 x[H] y[Rplane] z[V]
N[BLOCK] G86 S[Speed] f[Frate] o[Depth] u[Rplane]
end
Cancel # Cancel a canned/manual cycle
N[Block] G80
end
Index Z # Index the rotary table
#N[Block] G0 Y[Val1]
#N[Block] G0 X[Val2] Z[Val3]
N[Block] G0 Y[ToolD]
N[Block] G0 C[Rotangle]
N[Block] G0 Y[D]
End
#Ask [Val1] " Enter Retractvalue in Y for rotarytable : " "100"
#Ask [Val2] " Enter Position in X for rotarytable : " "0"
#Ask [Val3] " Enter Position in Z for rotarytable : " "0"
StartCode # Start of the program
%[Program#]
b[Program#] Q0
End
1stToolChange # First tool change
N[Block] G18 T[Tool]
N[Block] G0 C[Rotangle]
N[Block] G0 X[H] Z[V] S[Speed] f[FRate] M[Cool]
N[Block] G0 Y[D]
End
Infeed # Enable cutter comp
N[Block] G1 Y[D] F[Plunge]
N[Block] G[Side] X[H] Z[V] F[FRate]
end
Outfeed # Disable cutter comp
N[Block] G40
N[Block] G1 X[H] Z[V]
end
ToolChange # Secondary tool changes
N[Block] G0 Y[ToolD] M9
N[Block] T[Tool]
N[Block] G0 X[H] Z[V] S[Speed] f[FRate] M[Cool]
N[Block] G0 Y[D]
End
EndCode # End of the program
N[Block] G0 Y[ToolD] M9
N[Block] M30
W0
O0
End
LineCode # Linear move
N[Block] G1 X[H] Z[V] Y[D]
end
RapidCode # Rapid move
N[Block] G0 X[H] Z[V] Y[D]
end
CwCode # CW circular move
N[Block] G2 F[FRate] X[H] Z[V] I[IVal] K[JVal]
end
CcwCode # CCW circular move
N[Block] G3 F[FRate] X[H] Z[V] I[IVal] K[JVal]
end
Replace "g" with "G"
Replace "r" with "F"
Replace "o" with "Y"
Replace "q" with "Y"
Replace "a" with "Y"
Replace "u" with "Y"
Replace "b" with "(&%"
Replace "Q" with "/000000)"
Replace "W" with "?"
Replace "O" with "0000"